import { createRouter, createWebHashHistory } from 'vue-router';

const routes = [
	{
		path: '/',
		name: 'login',
		component: () => import('../views/login/login.vue'),
	},
	{
		path: '/layout',
		name: 'layout',
		component: () => import('@/layout/index.vue'),
	},
];
const router = createRouter({
	history: createWebHashHistory(),
	routes,
});

router.replace('/');

export default router;
